package com.zzptc.sky.bdsjws.fragments.base;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;

import com.zzptc.sky.bdsjws.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import butterknife.Unbinder;

/**
 * Created by Administrator on 2017/5/26 0026.
 */

public class FirstFragmentOneSos extends BaseFragmentOneSos {
    @BindView(R.id.kaiqi)
    Button kaiqi;

    @Override
    public int getContentXml() {
        return R.layout.first_sos_fragment;
    }

    @Override
    public void initView() {

    }

    @Override
    public void initData() {

    }


    @OnClick(R.id.kaiqi)
    public void onViewClicked() {
        //两种方法换Fragment
//        getFragmentManager().beginTransaction().replace(R.id.fl_sos,new SecondFragmentOneSos()).commit();
        getFragmentManager().beginTransaction().replace(R.id.fl_sos,new SecondFragmentOneSos()).commit();
    }
}
